import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userPhoto: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg2.17getfun.com%2FiiIm-DIBaFDizpc.JPEG&refer=http%3A%2F%2Fimg2.17getfun.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1641526224&t=c4d5cf141c35037e3406b29db0e8a050'
  },
  mutations: {
    SET_USERPHOTO (state, value) {
      state.userPhoto = value
    }

  },
  actions: {},
  modules: {}
})
